﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserGroupManage.aspx.cs" Inherits="Customer_Profile.Admin.UserGroupManage" %>

<%@ Register Src="../mainTop.ascx" TagName="mainTop" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<HTML>
	<HEAD>
		<title>UserGroupManage</title>
		<LINK href="/css/style.css" type="text/css" rel="stylesheet">
        <script language="javascript" type="text/javascript" src="/js/common.js"></script>
        <script language="javascript" type="text/javascript" src="/js/CalPopUp.js"></script>
	</HEAD>
	<body bgcolor="#ffffff" leftmargin="0" topmargin="0">
		<form id="Form1" method="post" runat="server">
			<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
				<tr>
					<td width="1" background="/images/dot_vline.gif"><IMG height="1" src="/images/spacer.gif" width="1"></td>
					<td vAlign="top" width="15"><IMG height="1" src="/images/spacer.gif" width="15"></td>
					<td id="TD1" vAlign="top" runat="server">
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td><IMG height="5" src="/images/spacer.gif" width="1"></td>
							</tr>
							<tr>
								<td height="23"><span class="navi-blk">
                                    <uc1:mainTop ID="MainTop1" runat="server" />
								        System Manage>User Group Manage
										</span></td>
							</tr>
							<tr>
								<td background="/images/dot_hline.gif"><IMG height="1" src="/images/spacer.gif" width="1"></td>
							</tr>
						</table>
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td><IMG height="8" src="/images/spacer.gif" width="1"></td>
							</tr>
						</table>
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td>
										<table borderColor="#c2d2e2" cellSpacing="0" cellPadding="2" width="100%" border="1">
											<tr>
												<td>
													<table cellSpacing="0" cellPadding="0" width="100%" border="0">
														<tr>
															<td bgColor="#1765a7"><IMG height="11" src="/images/pic_results.gif" width="61"></td>
														</tr>
													</table>
													<table cellSpacing="0" cellPadding="0" width="100%" border="0">
														<tr>
															<td class="bglist" width="5%">ID</td>
															<td class="bglist"><IMG height="16" src="/images/dot_vline2.gif" width="1"></td>
															
															<td class="bglist" width="15%">User Group Name</td>
															<td class="bglist"><IMG height="16" src="/images/dot_vline2.gif" width="1"></td>
															
															<td class="bglist" width="31%">Remark</td>
															<td class="bglist"><IMG height="16" src="/images/dot_vline2.gif" width="1"></td>
															
															<td class="bglist" width="15%">Menu Permissions</td>
															<td class="bglist"><IMG height="16" src="/images/dot_vline2.gif" width="1"></td>
															
															<td class="bglist" width="15%">Data Permissions</td>
															<td class="bglist"><IMG height="16" src="/images/dot_vline2.gif" width="1"></td>
															
															<td class="bglist" width="6%">User</td>
															<td class="bglist"><IMG height="16" src="/images/dot_vline2.gif" width="1"></td>
															
															<td class="bglist" width="6%">Edit</td>
															<td class="bglist"><IMG height="16" src="/images/dot_vline2.gif" width="1"></td>
															
															<td class="bglist" width="7%">Delete</td>
														</tr>
														<tr>
															<td colSpan="15">
															<FONT face="宋体">
															        <asp:datagrid id="dtgUserGroup" runat="server" ShowHeader="False" 
                                                                    BorderWidth="0" AutoGenerateColumns="False"
																		Width="100%" HorizontalAlign="Center" Font-Size="Smaller" OnItemCommand="dtgUserGroup_ItemCommand" 
                                                                    OnItemDataBound="dtgUserGroup_ItemDataBound" AllowPaging="True" 
                                                                    onpageindexchanged="dtgUserGroup_PageIndexChanged">
																		<ItemStyle HorizontalAlign="Center" CssClass="bglist-2"></ItemStyle>
																		<HeaderStyle HorizontalAlign="Center" BorderStyle="Groove" BackColor="#C0C0FF"></HeaderStyle>
																		<Columns>
																			<asp:BoundColumn DataField="group_id" HeaderText="ID" ItemStyle-Width="5%">
<ItemStyle Width="5%"></ItemStyle>
                                                                            </asp:BoundColumn>
																			<asp:BoundColumn DataField="Group_Name" HeaderText="User Group Name" ItemStyle-Width="15%">
<ItemStyle Width="15%"></ItemStyle>
                                                                            </asp:BoundColumn>
																			<asp:BoundColumn DataField="Group_Remark" HeaderText="Remark" ItemStyle-Width="31%">
<ItemStyle Width="31%"></ItemStyle>
                                                                            </asp:BoundColumn>
																			<asp:ButtonColumn Text="Menu Permissions" HeaderText="Menu Permissions" CommandName="cmdMenuAuth" ItemStyle-Width="15%">
<ItemStyle Width="15%"></ItemStyle>
                                                                            </asp:ButtonColumn>
																			<asp:ButtonColumn Text="Data Permissions" HeaderText="Data Permissions" CommandName="cmdDataAuth" ItemStyle-Width="15%">
<ItemStyle Width="15%"></ItemStyle>
                                                                            </asp:ButtonColumn>
																			<asp:ButtonColumn Text="User" HeaderText="User" CommandName="cmdUser" ItemStyle-Width="6%">
<ItemStyle Width="6%"></ItemStyle>
                                                                            </asp:ButtonColumn>
																			<asp:ButtonColumn Text="Edit" HeaderText="Edit" CommandName="cmdModify" ItemStyle-Width="6%">
<ItemStyle Width="6%"></ItemStyle>
                                                                            </asp:ButtonColumn>
																			<asp:ButtonColumn Text="Delete" HeaderText="Delete" CommandName="cmdDel" ItemStyle-Width="7%">
<ItemStyle Width="7%"></ItemStyle>
                                                                            </asp:ButtonColumn>
																		</Columns>
																	    <PagerStyle Mode="NumericPages" />
																	</asp:datagrid>
															</FONT>
															</td>
														</tr>
													</table>
													<table cellSpacing="0" cellPadding="0" width="100%" border="0">
													</table>
												</td>
											</tr>
										</table>
										<table cellSpacing="0" cellPadding="0" width="100%" border="0">
											<tr>
												<td><IMG height="3" src="/images/spacer.gif" width="1"></td>
											</tr>
										</table>
										<%--<table cellSpacing="0" cellPadding="0" width="100%" border="0">
											<tr>
												<td class="bglistbtm" align="left" width="20%"><span class="navi-blk">&nbsp;
														<asp:label id="lbltotalpages" runat="server">Label</asp:label></span></td>
												<td class="bglistbtm" style="WIDTH: 494px" align="center"><asp:label id="lblperpage" runat="server">Label</asp:label></td>
												<td class="bglistbtm" align="right" width="20%">
                                                  <asp:dropdownlist id="cmbpages" runat="server" AutoPostBack="True" OnSelectedIndexChanged="cmbpages_SelectedIndexChanged"></asp:dropdownlist>&nbsp;
                                                </td>
											</tr>
										</table>--%>
										<table cellSpacing="0" cellPadding="0" width="100%" border="0">
											<tr>
												<td><IMG height="5" src="/images/spacer.gif" width="1"></td>
											</tr>
										</table>
										<table cellSpacing="0" cellPadding="0" width="100%" border="0">
											<tr>
												<td>
													<div align="right"><input class="button" id="Add" type="submit" value="Add" name="Add" runat="server" onserverclick="Add_ServerClick">
													</div>
												</td>
											</tr>
										</table>
								</td>
							</tr>
						</table>
					</td>
		</form>
					<td vAlign="top" width="10"><IMG height="1" src="/images/spacer.gif" width="10"></td>
				</tr>
			</table>
	</body>
</HTML>